import styled from "styled-components";
import { primaryColor } from "../../../static/config/color";
export const AddressPage = styled.div`
  font-size: 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #efefef;
  color: ${primaryColor};
  .list {
    height: 100%;
    overflow: scroll;
    padding: 15px;
  }
  .footer {
    height: 50px;
    background: ${primaryColor};
    font-size:16px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff
  }
  .ttflx {
    display: flex;
    padding: 10px;
  }
  .spSp {
    border-top: 1px solid #dedede;
    padding: 10px;
    color: #666;
    display: flex;
    align-items:center;
    justify-content: space-between;
    .ft{
      display:flex;
      align-items:center;
    }
    .isCheck {
      width: 20px;
      height: 20px;
      border-radius: 30px;
      border: 1px solid #dedede;
      font-size: 14px;
      display: flex;
      justify-content: center;
      align-items: center;
      &.active {
        background: ${primaryColor};
        border-color: ${primaryColor};
      }
    }
  }
  .listItem {
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    background: #fff;
    border-radius: 10px;
    &:last-child {
      margin-bottom: 0;
    }
    .imgBox {
      width: 50px;
      height: 50px;
      text-align: center;
      line-height: 50px;
      border-radius: 1rem;
      background-color: #f18b29;
      margin-right: 10px;
      overflow: hidden;
      font-size: 20px;
    }
    .listContent {
      flex: 1;
      .title {
        margin-top: 6px;
        font-size: 13px;
        line-height: 1.5;
        display: flex;
        color: #666;
        i {
          color: #666;
        }
      }
      .details {
        font-size: 16px;
        color: #333;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        box-sizing: content-box;
        white-space: normal;
        line-height: 25px;
        max-height: 50px;
      }
      .tag {
        padding: 0px 10px;
        background: #f18b29;
        border-radius: 10px;
        overflow: hidden;
        color: #fff;
        margin-right: 10px;
      }
    }
    .setOp {
      width: 30px;
      display: flex;
      justify-content: flex-end;
    }
  }
`;
export const AddressSetPage = styled.div`
  font-size: 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  color: ${primaryColor};
  padding:0 10px;
.item{
  position: relative;
    display: flex;
    padding: 15px;
    min-height: 44px;
    background-color: #fff;
    vertical-align: middle;
    overflow: hidden;
    transition: background-color 200ms;
    align-items: center;
    border-bottom: 1px solid #ddd;
}
  .tag {
        width:40px;
        height:40px;
        display:flex;
        justify-content:center;
        align-items:center;
        /* background: #f18b29; */
        border-radius: 30px;
        overflow: hidden;
        color: #666;
        border:1px solid #666;
        margin-right: 10px;
        &.active{
          border-color:#f18b29;
          background: #f18b29;
          color:#fff
        }
      }
`;
